package com.mew.common.dc.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.mew.common.entity.game.Jackport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.vo.web.JackpotVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Dylin
 * @since 2021-05-14
 */
@DS("mew_core")
public interface JackportMapper extends BaseMapper<Jackport> {
    /**
     *通过游戏和房间查询奖池
     * @param gameId
     * @return
     */
    List<JackpotVo> queryJackpotByGameRoom(@Param("gameId")int gameId,@Param("roomType")int roomType);
}
